<template>
  <div class="filter-item flex align-center">
    <span v-if="props.label" class="filter-item-label nowrap mr-5">{{props.label}}</span>
    <slot></slot>
  </div>
</template>

<script setup>
const props = defineProps({
  label: {
    type: String,
    default: ''
  }
})
</script>

<style scoped>
.filter-item-label {
  color: var(--secondary-text);
}
</style>
